package qinzhouyong.controller;

import qinzhouyong.entity.QZYEntity;
import qinzhouyong.service.QZYService;

import javax.annotation.Resource;
import java.util.List;

public class QZYController {

    List<QZYEntity> list = null;

    String name = null;
    @Resource
    QZYService qzyService;

    public String queryPage(){
        list =qzyService.queryPage(name);
        return "queryPage";
    }

    public List<QZYEntity> getList() { return list; }

    public void setList(List<QZYEntity> list) { this.list = list; }

    public String getName() { return name; }

    public void setName(String name) { this.name = name; }
}
